
local chat = class("chat", z9.actionBase)
local log = z9.log

function chat:ctor(session)
    self._session = session
end 

function chat:send(arg)
    --print("---recv chat_send msg----")
    log.Info("chat-send action")
    --TODO deal
    --self._session:sendResp({ret={ok=0, msg="msg", err="noerr"}})
    log.Info("send push_main")
    self._session:sendReq("push_main", {tili=100})
    self._session:sendReq("push_main", {tili=200})
    self._session:sendReq("push_main", {tili=300})

    log.Info("send push_main ok")
end 

return chat 
